<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <!-- 自动根据文件修改时间更新缓存 -->
    <meta content="no-cache" http-equiv="Pragma">
    <meta content="no-cache" http-equiv="Cache-Control">
    <meta content="no-cache" http-equiv="Cache">
    <meta content="Wed, 21 Oct 2020 11:49:43 GMT" http-equiv="Expires">
    <meta content="Wed, 21 Oct 2020 14:49:43 GMT" http-equiv="Last-Modified">
    <!-- 移动端适配 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <link rel="stylesheet" data-name="vs/editor/editor.main"
        href="./node_modules/monaco-editor/min/vs/editor/editor.main.css" />
    <link rel="stylesheet" href="index.css?v=1" />
    <!-- ico -->
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
    <link rel="icon" href="./favicon.ico" type="image/x-icon" />
    <title>FreeBasic Playground</title>
    <script src="./lib/jquery-3.1.1.min.js"></script>
    <script src="./lib/layer/layer.js"></script>
    <script>
        layer.msg('loading...', { time: 0, shade: 0.5 })
    </script>
</head>

<body>
    <div class="head">
        <div class="title" onclick="window.location.reload()">
            <span class="big"></span>
            <span class="small">Help(F1)</span>
        </div>
        <div>
            <input style="display: none;" id="parameters" type="text" placeholder="Compile parameters..."
                maxlength="1024" title="Add parameters for compile" onchange="saveParams()" />
            <button style="display: '';" id="btnF9" title="Press F9 to toggleResult"
                onclick="toggleResult()">ResultBox</button>
            <button id="btnF2" title="Press F5 to run your code" onclick="runCode()">Run(F2)</button>
        </div>
    </div>
    <div id="container"></div>
    <div id="result" style="display: none;">
        <div style="display: flex;justify-content: space-between;margin-bottom: 10px;">
            <div class="title">Result Box</div>
            <div class="close" style="cursor: pointer;" onclick="toggleResult()">X</div>
        </div>
        <pre></pre>
    </div>
    <div id="foot">
        <div style="float: right;"><a href="javascript:aboutMe()" title="About me">About</a></div>
        <!-- <div>
            <a target="_blank" href="#" title="Click to view static">8 (online)</a>
        </div> -->
        <div>
            <a href="javascript:toggleResult()" title="Press F9 to toggleResult">Output(F9)</a>
        </div>
    </div>

    <script>
        var require = { paths: { vs: './node_modules/monaco-editor/min/vs' } };
    </script>
    <script src="./node_modules/monaco-editor/min/vs/loader.js"></script>
    <!-- <script src="./node_modules/monaco-editor/min/vs/editor/editor.main.nls.js"></script> -->
    <script src="./node_modules/monaco-editor/min/vs/editor/editor.main.js"></script>
    <script src="./index.js?v=12"></script>

    <script defer src="https://tj.a-vi.com/script.js" data-website-id="9f69ed91-b9e4-46ab-9d0a-e812ad757533"></script>
    <script src="//api.a-vi.com/tongji/vist.js"></script>


</body>

</html>